Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 2 - Shape Objects / Shape Objects Reference
Constants and Data Types


Shape Type

A shape object's shape type specifies what type of geometry the shape object has. Constants for all shape types are defined in the gxShapeTypes enumeration:

enum gxShapeTypes {
   gxEmptyType = 1,     
   gxPointType,         
   gxLineType,       
   gxCurveType,         
   gxRectangleType,     
   gxPolygonType,    
   gxPathType,          
   gxBitmapType,     
   gxTextType,       
   gxGlyphType,   
   gxLayoutType,        
   gxFullType,          
   gxPictureType     
};

typedef long gxShapeType;
The individual shape types are described further in Table 2-1 on page 2-9.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996